abstract pattern complexity